<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>index</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/style/style.css">
	<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/left.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/ChangeRorA.js"></script>
	<script src="__AUTH__/Common/Layer/layer.js"></script>
	<style type="text/css">
		/*a{ 
			pointer-events:none; 
			background-color: #fff;
		} */
	</style>
</head>
<body>
	<div class="container">
		<div class="nav">
			<div class="head">
				<img src="__PUBLIC__/images/head/AuthLogo.jpg" alt="">
			</div>
			<div class="menu">
				<foreach name="data" item="vo" key="vk">
				   	<ul>
						<a href="#" class="nav-main" id="nav-main{$vk+1}"><span id="nav-ico2"></span>{$vo.title}</a>
						<li class="nav-li" id="nav-li{$vk+1}">
				        	<if condition="$vo[title] neq 设置 AND $vo[title] neq 权限管理 AND $vo[title] neq 商品管理">
								<a href="__MODULE__/{$vo.name}?menu_title={$vo['title']|urlencode}" target="myFrame">{$vo.title}</a>

							<elseif condition="$vo[title] eq 商品管理" />
								<a href="index.php?m=Admin&c=Product&a=index&menu_title=商品管理&p=1" target="myFrame">{$vo.title}</a>

							</if>
							<foreach name="vo['sub']" item="sub" key="k">
					        	<if condition="$k == 0 AND $sub[title] neq 退出登录">
							    	<a href="__MODULE__/{$sub['name']}/menu_title/{$vo['title']} - {$sub['title']|urlencode}" target="myFrame">{$sub['title']}</a>
							    <elseif condition="$sub['title'] eq 退出登录" />
							    	<a href="__MODULE__/{$sub['name']}/menu_title/{$vo['title']} - {$sub['title']|urlencode}" >{$sub['title']}</a>
					    		<else/>
						   	 		<a href="__MODULE__/{$sub['name']}/menu_title/{$vo['title']} - {$sub['title']|urlencode}" target="myFrame">{$sub['title']}</a>          
					    		</if>
				        	</foreach>
				        	<if condition="$vo[title] eq 权限管理">
						   	 		<a href="{:U('Index/index',array('validation'=>0))}">切换成Rbac权限验证模式</a>          
				    		</if>

				    </ul>
			    </foreach>


				<!-- <ul>
					<a href="{:U('Menu/index')}" class="nav-main" id="nav-main1" target="myFrame"><span id="nav-ico1"></span>菜单管理</a>
						<a href="{:U('Menu/index')}" target="myFrame">菜单管理</a>
				</ul>
				<ul>
					<a href="#" class="nav-main" id="nav-main2"><span id="nav-ico2"></span>用户&权限管理</a>
					<li class="nav-li" id="nav-li2">
						<a href="{:U('AuthVerify/admin_list')}" target="myFrame">管理员</a>
						<a href="{:U('AuthVerify/auth_group')}" target="myFrame">用户组</a>
						<a href="{:U('AuthVerify/auth_rule')}" target="myFrame">权限及菜单</a>
					 	
					 	<a href="{:U('Index/index',array('validation' => 0))}">切换为RBAC权限管理模式</a>
					
						
						
					</li>
				</ul>
				<ul>
					<a href="{:U('Product/index')}" class="nav-main" id="nav-main2" target="myFrame"><span id="nav-ico2"></span>商品管理</a>
				</ul>
				<ul>
					<a href="{:U('Product/checkout')}" class="nav-main" id="nav-main3" target="myFrame"><span id="nav-ico3"></span>用户结算</a>
				</ul>
				
				<ul>
					<a href="#" class="nav-main" id="nav-main5"><span id="nav-ico5"></span>设置</a>
					<li class="nav-li" id="nav-li5">
						<a href="{:U('Login/loginout')}">退出登录</a>
					</li>
				</ul>-->
			</div>
		</div>
		<div class="content">
			<iframe src="" frameborder="0" name="myFrame"></iframe>
		</div>
	</div>
</body>
</html>